<?php
namespace Home\Model;
use Think\Model;

//++++++++++++++无限级分类++++++++++++++

class TbshowModel extends Model { 
 public function getTbshow(){
        $av = $this->table(array('tbshow'=>'tbs','type'=>'t'))->field('tbs.*,t.name')->where('tbs.typeid=t.id')->select();
        
        return $av;
       }
  }